/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.commandimpl;

import za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.Dinner;
import za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.commandinterface.Command;

/**
 *
 * @author Sakhe
 */
public class DinnerCommand implements Command{
    
    Dinner dinner;
    public DinnerCommand(Dinner dinner){
    this.dinner = dinner;
    }
    @Override
    public void execute(){
    dinner.makeDinner();
    }
}
